


/**
 * 如下是打印单个参数的逻辑
 */
/**
 * {@code
 * <p>
 *             List<ObjectError> objectErrors = ex.getBindingResult().getAllErrors();
 *         if(!CollectionUtils.isEmpty(objectErrors)) {
 *             StringBuilder msgBuilder = new StringBuilder();
 *             for (ObjectError objectError : objectErrors) {
 *                 msgBuilder.append(objectError.getDefaultMessage()).append(",");
 *             }
 *             String errorMessage = msgBuilder.toString();
 *             if (errorMessage.length() > 1) {
 *                 errorMessage = errorMessage.substring(0, errorMessage.length() - 1);
 *             }
 *             r.setMsg(errorMessage);
 *         }
 * }
 */
package com.example.testvolication.handler;